/**
 * Created by LangK on 2016/12/19.
 */

import VueRouter from 'vue-router'
import MyCanvas from './components/share/MyCanvas.vue'
import Home from './components/Home.vue'
import Login from './components/Login.vue'
import App2 from './components/App2.vue'
import Hello2 from './components/Hello2.vue'
import Spinner from './components/share/Spinner.vue'

export default [
  {path: '/', redirect: '/login'},
  {path: '/login', component:Login},
  {
    path: '/home', component: Home,
    children: [
      {path: 'second', component: App2},
      {path: 'first', component: Hello2}
    ]
  }
]

